package com.nfIt.servlet;

import com.nfIt.dao.StaffsDao;
import com.nfIt.dao.impl.StaffsDaoImpl;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * ClossName:SelectByIdStaff
 * Pakage:com.nfIt.servlet
 * Description
 *
 * @Author L
 * @Create 2024/3/13 8:42
 * @Version 2023.1.3
 */
@WebServlet("/SelectByIdStaff")
public class SelectByIdStaff extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        StaffsDao staffsDao = new StaffsDaoImpl();
        System.out.println(staffsDao.staffsSeleId(1));
    }
}
